<nz-alert nzType="info" [nzMessage]="innerTemplate" nzShowIcon [ngStyle]="{ 'marginBottom': '16px'}">
  <ng-template #innerTemplate>
    <span class="help-text">删除此别名仅永久删除别名，不包括底层版本代码和配置。</span>
  </ng-template>
</nz-alert>
<nzi-form [formName]="deleteAliasForm" #deleteAliasFormComponent>
  <form nz-form [formGroup]="deleteAliasForm">
    <!-- 添加防CSRF验证字段 -->
    <input type="hidden" formControlName="timestamp" />
    <input type="hidden" formControlName="nonce" />
    <nz-form-item>
      <nz-form-label>别名<span class="required-icon">*</span></nz-form-label>
      <nz-form-control>
        <nz-select formControlName="alias" nzPlaceHolder="请选择别名" [nzLoading]="isLoading" [ngModel]="aliasId" (ngModelChange)="aliasChange($event)" nzNotFoundContent="没有可用的别名" #aliasesEle>
          <nz-option *ngFor="let object of aliasList" [nzLabel]="object.aliasName" [nzValue]="object.aliasId">
          </nz-option>
        </nz-select>
      </nz-form-control>
    </nz-form-item>
  </form>
</nzi-form>

